<div class="modal fade bs-modal-md" id="modelContent">
	<div class="modal-dialog modal-md" style="width: 800px;">
		<div class="modal-content"></div>
	</div>
</div>
<div class="portlet box green">
	<div class="portlet-title">
	    <div class="caption"><i class="fa fa-cog"></i>企业管理 > 企业列表 > 员工记录 </div>
		<div class="tools">
			<a href="javascript:;" class="collapse right" data-original-title="" title=""> </a>
    	</div>
    	<div class="actions">
			<a href="javascript:;" class="btn white btn-sm ajax-search"><i class="fa fa-search"></i> 查询 </a>
			<a href="javascript:;" class="btn white btn-sm search-reset"><i class="fa fa-eraser"></i> 清除 </a>
		</div>
	</div>
	<div class="portlet-body form">
	   	<form action="/staff/list?companyId=$!memberId" class="form-horizontal" method="get" id="searchForm" onsubmit="return false">
			<div class="form-body">
				<div class="row">
	                	<label class="control-label col-md-1">会员：</label>
	                	<div class="col-md-2">
	                    	<input type="text" class="form-control"  name="id" value="$!id"/>
	                   </div>
	                   <label class="control-label col-md-1">手机号：</label>
	                	<div class="col-md-2">
	                    	<input type="text" class="form-control"  name= "phone" value="$!phone"/>
	                   </div>
	                	<div class="col-md-4">
							<label class="col-md-3 control-label">注册时间：</label>
							<div class="col-md-4">
						    	<input type="text" class="form-control" readOnly id="startTime" name="startTime" value="$!startTime">
						    	<i class="fa fa-calendar" style="position: absolute;right: 10px;top: 10px"></i>
							</div>
							<div class="col-md-1">~</div>
							<div class="col-md-4">
						    	<input type="text" class="form-control"readOnly id="endTime" name="endTime" value="$!endTime">
						    	<i class="fa fa-calendar" style="position: absolute;right: 10px;top: 10px"></i>
							</div>
					</div>	
	    		</div>
			</div>
		</form>
	</div>
</div>
<div class="portlet box green">
    <div class="portlet-title">
		<div class="caption"><i class="fa fa-cogs"></i>数据列表</div>
		<div class="tools"><a href="javascript:;" class="collapse" data-original-title="" title=""> </a></div>
    </div>
    <div class="portlet-body">
    	<div class="dataTables_wrapper no-footer">
    	<div class="tabbable-line ">
			   <ul class="nav nav-tabs">
	            <li>
	            <a href="/details/list?id=$!memberId" class="ajaxify" data-toggle="tab" aria-expanded="true"><font style="vertical-align: inherit;"><font
				   style="vertical-align: inherit;"> 基本信息 </font></font></a></li>
	            <li  class="">
	            <a href="/order/company?memberId=$!memberId" class="ajaxify" data-toggle="tab"  aria-expanded="false"><font style="vertical-align: inherit;"><font
				    style="vertical-align: inherit;"> 订单记录 </font></font></a></li>
	            <li class="">
	            <a href="/protocol/list?companyId=$!memberId" class="ajaxify" data-toggle="tab" aria-expanded="false"><font style="vertical-align: inherit;"><font
				    style="vertical-align: inherit;"> 报价记录 </font></font></a></li>
				<li class="">
	            <a href="/credit/list?companyId=$!memberId" class="ajaxify" data-toggle="tab" aria-expanded="false"><font style="vertical-align: inherit;"><font
				   style="vertical-align: inherit;"> 信用记录 </font></font></a></li>
	            <li class="">
	            <a href="/account/list?companyId=$!memberId" class="ajaxify" data-toggle="tab"  aria-expanded="false"><font style="vertical-align: inherit;"><font
				    style="vertical-align: inherit;"> 开票记录 </font></font></a></li>
	            <li class="active">
	            <a href="/staff/list?companyId=$!memberId" class="ajaxify" data-toggle="tab" aria-expanded="false"><font style="vertical-align: inherit;"><font
				    style="vertical-align: inherit;"> 员工记录 </font></font></a></li>    
            	<li class="">
            	<a href="/companyBill/list?companyId=$!memberId" class="ajaxify" data-toggle="tab" aria-expanded="false"><font style="vertical-align: inherit;"><font
				    style="vertical-align: inherit;"> 账单记录 </font></font></a></li>    
            </ul>
		     </div>
		     <span></span>
		     <span></span>
			<div class="table-scrollable">
			    <table class="table table-striped table-bordered table-hover">
				  	<thead>
						<tr>
		   		 			<th>会员号</th>
		   		 			<th>姓名</th>
		   		 			<th>手机号</th>
		   		 			<th>关注</th>
		   		 			<th>会员等级</th>
		   		 			<th>日期</th>
		   		 			<th>说明</th>
						</tr>
					</thead>
					<tbody>
					    #foreach($!item in $pageUserInfo.result)
		  				<tr>  
						    <td>$!item.id</td>
						    <td>$!item.realname</td>
						    <td>$!item.phone</td>
						    <td>#if($!item.concern=='true')
						    	<span class="glyphicon glyphicon-ok-circle" style="color: lightgreen">
						    	#end
						    	#if($!item.concern=='false')
						    	<span class="glyphicon glyphicon-remove-circle" style="color: red">
						    	#end
						    </td> 
						    <td>$!item.userLevel</td>
						    <td>$!item.createTime</td>
						    <td>$!item.MemberSource</td>
		  				</tr>
		  				#end
					</tbody>
				</table>
			</div>
			#set($page=$pageUserInfo)
			#set($pageUrl="staff/list?&pageNo=")
			#parse("_page.htm")
		</div>
    </div>
</div>
<script src="/assets/scripts/views-date.js" type="text/javascript"></script>
<script type="text/javascript">
$("input[name= id]").focus();
</script>
